<% for(o in obj){
%>
<tr data-tt-id="${o.id}" data-tt-parent-id="${o.parentId}" data-tt-branch="${o.hasChildren}">
    <td>
        <span class="pd-l-sm"></span>${o.name!}
    </td>
    <td>${o.address!}</td>
    <td>${o.telephone!}</td>
    <td>
       <div>
                            	<a class="btn btn-xs btn btn-default " href="${base}/platform/sys/unit/detail/${o.id}" data-toggle="modal"
                                           data-target="#dialogUnitDetail"><i class="fa fa-eye"></i>&nbsp;查看</a>
                                <a class="btn btn-xs btn btn-default " href="${base}/platform/sys/unit/edit/${o.id}" data-pjax><i class="fa fa-edit"></i>&nbsp;修改</a>
                                <a class="btn btn-xs btn btn-default " href="javascript:;" onclick="del('${o.id}')"><i class="glyphicon glyphicon-trash"></i>&nbsp;删除</a>
                                <a class="btn btn-xs btn btn-default " href="${base}/platform/sys/unit/add?pid=${o.id}" data-pjax><i class="fa fa-plus"></i>&nbsp;添加子单位</a>
                            </div>
    </td>
</tr>
<%
}%>